package com.esteel.settlement.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.esteel.settlement.entity.TbSettPlatInfo;

public interface SettPlatInfoRepository extends JpaRepository<TbSettPlatInfo, Long> {

	@Query("select  t from TbSettPlatInfo t where t.infoId=(select max(s.infoId) from TbSettPlatInfo s)")
	public List<TbSettPlatInfo> findTbSettPlatInfo();
	
}
